package cn.wolfcode.wolf2w.repostiory;


import cn.wolfcode.wolf2w.domain.StrategyCatalog;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 攻略分类持久层接口
 */
@Repository
public interface StrategyCatalogRepository extends MongoRepository<StrategyCatalog, String>{

    //通过目的地id查出攻略分类
    List<StrategyCatalog> findByDestId(String destId);
}
